package com.rangter.MissedCalls.Pages;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.ImageView;

public class animActivity extends Activity {
	ImageView iv = null;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.anim);
		new Thread()
		{
			@Override
			public void run()
			{
				try
				{
					sleep(4000);
				}catch(Exception ex)
				{
					
				}
				Intent i = new Intent();
				i.setClass(animActivity.this, Login.class);
				startActivity(i);
				animActivity.this.finish();
			}
		}.start();
		
//
//		iv = (ImageView) findViewById(R.id.ImageView01);
//		iv.setOnClickListener(this);
	}

//	public void onClick(View v) {
//		// TODO Auto-generated method stub
//		AnimationDrawable anim = null;
//		Object ob = iv.getBackground();
//		anim = (AnimationDrawable) ob;
//		anim.stop();
//		anim.start();
//	}
}